package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication//说明只是一个启动类
@MapperScan("com.itheima.reggie.mapper")//指定dao接口包名
@EnableTransactionManagement//开启对事物管理
@Slf4j//日志
public class WebManageApplicatio {
    public static void main(String[] args) {
        SpringApplication.run(WebManageApplicatio.class,args);
        log.info("瑞吉项目启动成功");
    }

}
